package com.financeiro.dao;

import com.financeiro.model.Lancamento;
import java.io.Serializable;
import javax.inject.Inject;
import javax.persistence.EntityManager;

public class LancamentoDAO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Inject
    private EntityManager manager;

    public void salvar(Lancamento lancamento) {
        manager.merge(lancamento);
    }
}
